package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.GroupWelcome;
import com.xjscrm.console.param.operatePlan.GroupWelcomeQuery;
import com.xjscrm.console.vo.GroupWelcomeVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupWelcomeMapper {
    int insert(GroupWelcome groupWelcome);

    GroupWelcome getById(@Param("id") Long id, @Param("merId") Long merId);

    int update(GroupWelcome groupWelcome);

    List<GroupWelcomeVo> getGroupWelcomePlanList(GroupWelcomeQuery groupWelcomeQuery);

    int delById(@Param("id") Long id, @Param("merId") Long merId);
}
